package br.com.californiahotel.client.service;

import java.util.Date;
import java.util.List;

import br.com.californiahotel.shared.models.Apartamento;
import br.com.californiahotel.shared.models.Tipo;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("apartamento")
public interface ApartamentoService extends RemoteService {

	boolean save(Apartamento model);

	List<Apartamento> findAll();

	List<Apartamento> findDisponiblesByDate(Date date);

	boolean delete(Integer key);

	boolean edit(Apartamento model, String id);

	List<Tipo> findAllTypes();

}
